package org.jeecg.modules.villageCadreAssist.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.villageCadreAssist.entity.VcaResident;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @Description: vca_resident
 * @Author: jeecg-boot
 * @Date:   2022-02-13
 * @Version: V1.0
 */
public interface IVcaResidentService extends IService<VcaResident> {

    void batchSave(List<VcaResident> residentList);

    IPage<VcaResident> queryPageList(Page<VcaResident> page, QueryWrapper queryWrapper, String orgCode);

    List<VcaResident> queryTopN(VcaResident resident, String orgCode);

    List<Map<String, String>> queryVillageCadreList(Set<String> idcardSet, String orgCode);
}
